package com.CampusLife.dao;

import com.CampusLife.bean.Favorite;

import java.util.List;

public interface IFavoriteDao {
    List<Favorite> queryAll();


    List<Favorite> queryById(Integer id);

    void add(Favorite favorite);

    void update(Favorite favorite);

    void delete(Integer fid);
    List <Favorite> getFavoriteAll(Integer p_id);

}
